﻿using System.Collections.Generic;
using System.Xml;
using Microsoft.Xrm.Sdk;
using SolutionExtender.Controls;

namespace SolutionExtender.Interfaces
{
    public interface IConnector
    {
        string ObjectName { get; }

        string Description { get; }

        List<ImportResult> Import(XmlNode data);

        IExportControl GetExportControl(IOrganizationService service);

        string GetRecordName(XmlNode node);
    }
}
